package HttpUtils;

import android.content.Context;

import http.HttpBodyBase;

/**
 * Created by Administrator on 2016/4/8.
 */
public class HttpPayRequest extends HttpBodyBase{
    public HttpPayRequest(Context context,int type) {
        super(context);
        switch (type){
            case 2:
                setAction("/index.php/Home/Pay/pay_order");
                break;
            case 1:
                setAction("/index.php/Home/Pay/pay_order_alipay");
        }
    }

    public void setOrderParam(String order_id) {
        params.put("order_no", order_id);
    }
}
